@layout("/common/_container.html"){
<style>.integralHeader{background:#6090b8;color:white;padding:5px 10px;}.integralContent{height:calc(100% - 77px);overflow:auto;padding:15px 20px;}.integralContentFillIn{display:flex}.integralContentFillIn > div{flex:1;}.integralContentFillIn > div > div{margin-bottom:15px;}.integralContentFillIn > div > div > span{display:inline-block;width:80px;}.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox > button{margin:0;color:white;background:#6090b8;padding:5px 14px;}.btnBox > button:last-of-type{background:white;color:inherit;border:1px solid #999999}.frameBox{width:60%;height:28px;padding-left:5px;border:1px solid #cccccc;border-radius:3px;}</style>
<div class="integralMall" style="height: 100%">
    <input type="hidden" id="num" value="${num}">
    <div class="integralHeader">添加商品</div>
    <div class="integralContent">
        <div class="integralContentFillIn">
            <div>
                <div>
                    <span>商品名称：</span>
                    <input type="text" autocomplete="off" id="productName" value="" name="productName" class="frameBox">
                </div>
                <div>
                    <span>商品价格：</span>
                    <input type="text" autocomplete="off" id="productPrice" value="" name="productPrice" class="frameBox" oninput="value=value.replace(/[^\d]/g,'')">
                </div>
                <div>
                    <span>商品描述：</span>
                    <input type="text" autocomplete="off" id="productDescription" value="" name="productDescription" class="frameBox" >
                </div>
                <div>
                    <span>备注：</span>
                    <input type="text" autocomplete="off" id="remarks" name="remarks" value="" class="frameBox">
                </div>
                <div>
                    <span>排序：</span>
                    <input type="text" autocomplete="off" id="number" name="number" value="" class="frameBox">
                </div>
                <div>
                    <span>片区：</span>
                    <select id="area" name="area" class="selectBox" onchange="ReservationsRecordTable.getData()">
                        <option value="">请选择</option>
                        @for(str in arealist){
                        <option value="${str.areaAbbreviation}">${str.area}</option>
                        @}
                    </select>
                </div>
            </div>
            <div>
                <div>
                    <span>上架数量：</span>
                    <input type="text" autocomplete="off" id="putawayNumber" name="putawayNumber" value="" class="frameBox" oninput="value=value.replace(/[^\d]/g,'')">
                </div>
                <div>
                    <span>市场价格：</span>
                    <input type="text" autocomplete="off" id="marketPrice" name="marketPrice" value="" class="frameBox" oninput="value=value.replace(/[^\d]/g,'')">
                </div>
                <div>
                    <span>商品标签：</span>
                    <input type="text" autocomplete="off" id="type" value="" name="type" class="frameBox">
                </div>
                <div>
                    <span>上传图片：</span>
                    <button id="avatar0BtnId" class="btn btn-default" type="button" style="padding: 4px 12px;">选择图片（必选）</button>
                </div>
            </div>
        </div>
        <div id="avatar0PreId" class="uploader-list" style="display: flex;flex-wrap: wrap;">
        </div>
    </div>
    <div class="btnBox">
        <button type="button" class="btn" id="ensure">提交</button>
        <button type="button" class="btn" id="cancel">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/basicData/pointReword/pointReword_info.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/basicData/pointReword/pointRewordUpdate.js?v=20200628"></script>
@}